<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>奢享时光 - 高端拼购平台</title>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
  <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
  <style>
    :root {
      --primary-gradient: linear-gradient(135deg, #7F00FF, #E100FF);
      --secondary-gradient: linear-gradient(135deg, #00F5A0, #00D9F5);
      --primary-color: #7F00FF;
      --secondary-color: #00F5A0;
      --accent-color: #FFE600;
      --dark-bg: #2D1B69;
      --light-bg: #6B3FA0;
      --text-light: #FFFFFF;
      --text-secondary: #E0D5FF;
      --card-bg: rgba(255, 255, 255, 0.1);
      --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
      --border-radius: 16px;
      --border: 1px solid rgba(255, 255, 255, 0.18);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      -webkit-tap-highlight-color: transparent;
    }

    body {
      font-family: 'Noto Sans SC', 'Poppins', sans-serif;
      background: var(--dark-bg);
      color: var(--text-light);
      font-size: 14px;
      line-height: 1.5;
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button {
      font-family: inherit;
      cursor: pointer;
      border: none;
      outline: none;
    }

    .app-container {
      max-width: 480px;
      margin: 0 auto;
      min-height: 100vh;
      background: linear-gradient(180deg, var(--dark-bg), var(--light-bg));
      position: relative;
      overflow: hidden;
      padding-bottom: 70px;
    }

    /* 背景装饰 */
    .bg-decoration {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
    }

    .bg-circle {
      position: absolute;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.05);
    }

    .bg-circle:nth-child(1) {
      width: 250px;
      height: 250px;
      top: -50px;
      left: -100px;
      background: radial-gradient(circle, rgba(127, 0, 255, 0.3), rgba(127, 0, 255, 0));
    }

    .bg-circle:nth-child(2) {
      width: 300px;
      height: 300px;
      bottom: 20%;
      right: -150px;
      background: radial-gradient(circle, rgba(0, 245, 160, 0.2), rgba(0, 245, 160, 0));
    }

    /* 顶部导航 */
    .header {
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      background: rgba(45, 27, 105, 0.8);
      padding: 15px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: var(--border);
    }

    .logo {
      font-size: 20px;
      font-weight: 700;
      background: var(--primary-gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo i {
      font-size: 24px;
      background: var(--primary-gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .header-actions {
      display: flex;
      gap: 16px;
      align-items: center;
    }

    .header-actions i {
      font-size: 20px;
      color: var(--text-light);
      opacity: 0.9;
    }

    .search-icon {
      position: relative;
    }

    .search-icon::after {
      content: "";
      position: absolute;
      top: -5px;
      right: -5px;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent-color);
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 230, 0, 0.7); }
      70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(255, 230, 0, 0); }
      100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 230, 0, 0); }
    }

    /* 内容区域 */
    .content {
      position: relative;
      z-index: 1;
      padding: 20px;
      padding-bottom: 10px;
    }

    /* 会员信息 */
    .member-card {
      position: relative;
      margin-bottom: 25px;
      border-radius: var(--border-radius);
      overflow: hidden;
      padding: 20px;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: var(--border);
      display: flex;
      flex-direction: column;
      gap: 15px;
      box-shadow: var(--shadow);
    }

    .member-info {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .member-avatar {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: var(--secondary-gradient);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      box-shadow: 0 5px 15px rgba(0, 245, 160, 0.3);
    }

    .member-details {
      flex: 1;
    }

    .member-name {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 5px;
    }

    .member-level {
      display: inline-block;
      padding: 3px 10px;
      background: var(--primary-gradient);
      border-radius: 100px;
      font-size: 12px;
      margin-bottom: 5px;
    }

    .member-progress {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 12px;
      color: var(--text-secondary);
    }

    .progress-bar {
      flex: 1;
      height: 4px;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 100px;
      overflow: hidden;
    }

    .progress-fill {
      height: 100%;
      width: 35%;
      background: var(--primary-gradient);
    }

    .member-privileges {
      display: flex;
      justify-content: space-between;
      background: rgba(255, 255, 255, 0.05);
      border-radius: var(--border-radius);
      padding: 12px;
    }

    .privilege-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
    }

    .privilege-icon {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      color: var(--secondary-color);
    }

    .privilege-name {
      font-size: 12px;
      color: var(--text-secondary);
    }

    /* 资讯滚动模块 */
    .news-ticker {
      position: relative;
      margin-bottom: 20px;
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: var(--border);
      border-radius: 100px;
      padding: 12px 20px;
      box-shadow: var(--shadow);
      display: flex;
      align-items: center;
      overflow: hidden;
    }

    .ticker-label {
      flex-shrink: 0;
      padding-right: 12px;
      margin-right: 12px;
      border-right: 1px solid rgba(255, 255, 255, 0.2);
      font-weight: 600;
      color: var(--accent-color);
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .ticker-wrapper {
      position: relative;
      overflow: hidden;
      height: 20px;
      flex: 1;
    }

    .ticker-content {
      position: absolute;
      white-space: nowrap;
      animation: ticker 15s linear infinite;
      display: flex;
      gap: 40px;
    }

    .ticker-item {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--text-light);
    }

    .ticker-tag {
      font-size: 10px;
      padding: 2px 6px;
      background: var(--primary-gradient);
      border-radius: 4px;
    }

    @keyframes ticker {
      0% { transform: translateX(100%); }
      100% { transform: translateX(-100%); }
    }

    /* 导航菜单 */
    .nav-menu {
      display: flex;
      overflow-x: auto;
      gap: 15px;
      padding: 5px 0 20px;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    .nav-menu::-webkit-scrollbar {
      display: none;
    }

    .nav-item {
      flex: 0 0 auto;
      padding: 10px 20px;
      border-radius: 100px;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      border: var(--border);
      font-size: 14px;
      color: var(--text-secondary);
      transition: all 0.3s ease;
    }

    .nav-item.active {
      background: var(--primary-gradient);
      color: var(--text-light);
      box-shadow: 0 5px 15px rgba(127, 0, 255, 0.3);
      font-weight: 500;
    }

    /* 抢购板块 */
    .flash-sale {
      margin-bottom: 25px;
    }

    .flash-cards {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      gap: 15px;
    }

    .section-title {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 15px;
    }

    .title-text {
      font-size: 18px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .title-text i {
      color: var(--accent-color);
    }

    .view-more {
      font-size: 13px;
      color: var(--text-secondary);
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .flash-card {
      position: relative;
      border-radius: var(--border-radius);
      overflow: hidden;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: var(--border);
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
      margin-bottom: 15px;
    }

    .flash-timer {
      position: absolute;
      top: 15px;
      left: 15px;
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      padding: 5px 15px;
      border-radius: 100px;
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: var(--accent-color);
    }

    .flash-timer i {
      font-size: 16px;
    }

    .flash-image {
      height: 200px;
      width: 100%;
      object-fit: cover;
    }

    .flash-content {
      padding: 15px;
    }

    .flash-title {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .price-row {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 12px;
    }

    .current-price {
      font-size: 20px;
      font-weight: 700;
      color: var(--accent-color);
    }

    .original-price {
      font-size: 14px;
      color: var(--text-secondary);
      text-decoration: line-through;
    }

    .flash-progress {
      margin-bottom: 15px;
    }

    .progress-text {
      display: flex;
      justify-content: space-between;
      font-size: 12px;
      color: var(--text-secondary);
      margin-bottom: 5px;
    }

    .flash-bar {
      height: 6px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 100px;
      overflow: hidden;
    }

    .flash-fill {
      height: 100%;
      width: 65%;
      background: var(--primary-gradient);
      position: relative;
    }

    .flash-fill::after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 20px;
      height: 100%;
      background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
      animation: shimmer 1.5s infinite;
    }

    @keyframes shimmer {
      0% { transform: translateX(-100%); }
      100% { transform: translateX(100%); }
    }

    .flash-button {
      width: auto;
      padding: 12px 24px;
      border-radius: 100px;
      background: var(--secondary-gradient);
      color: var(--dark-bg);
      font-size: 16px;
      font-weight: 600;
      text-align: center;
      transition: all 0.3s ease;
      box-shadow: 0 5px 15px rgba(0, 245, 160, 0.3);
      float: right;
      margin-left: auto;
      display: block;
    }

    .flash-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 20px rgba(0, 245, 160, 0.4);
    }

    /* 精选商品 */
    .featured-products {
      margin-bottom: 30px;
    }

    .products-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
      margin-bottom: 25px;
    }

    .product-card {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: var(--border);
      border-radius: var(--border-radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: all 0.3s ease;
    }

    .product-card:hover {
      transform: translateY(-5px);
    }

    .product-image {
      height: 150px;
      width: 100%;
      object-fit: cover;
    }

    .product-content {
      padding: 12px;
    }

    .product-title {
      font-size: 14px;
      font-weight: 500;
      margin-bottom: 8px;
      min-height: 42px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .product-price {
      font-size: 16px;
      font-weight: 600;
      color: var(--accent-color);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .product-tag {
      display: inline-block;
      padding: 2px 8px;
      border-radius: 100px;
      background: rgba(127, 0, 255, 0.2);
      font-size: 10px;
      color: var(--text-light);
    }

    /* 底部导航 */
    .bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      max-width: 480px;
      margin: 0 auto;
      background: rgba(45, 27, 105, 0.8);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-top: var(--border);
      display: flex;
      justify-content: space-around;
      padding: 12px 0;
      z-index: 100;
    }

    .nav-button {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
      color: var(--text-secondary);
      font-size: 12px;
      padding: 5px 0;
      flex: 1;
      transition: all 0.3s ease;
    }

    .nav-button i {
      font-size: 18px;
      margin-bottom: 2px;
    }

    .nav-button.active {
      color: var(--accent-color);
    }

    /* 响应式调整 */
    @media (max-width: 375px) {
      .products-grid {
        gap: 10px;
      }
      
      .product-image {
        height: 130px;
      }
      
      .product-title {
        font-size: 13px;
        min-height: 38px;
      }
      
      .privilege-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
      }
      
      .privilege-name {
        font-size: 11px;
      }
    }

    @media (min-width: 600px) {
      .products-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (min-width: 640px) {
      .flash-cards {
        grid-template-columns: repeat(2, 1fr);
      }
      
      .flash-card {
        margin-bottom: 0;
      }
    }

    /* 轮播图 */
    .carousel-container {
      position: relative;
      margin-bottom: 25px;
      border-radius: var(--border-radius);
      overflow: hidden;
      height: 200px;
      box-shadow: var(--shadow);
    }

    .carousel-slide {
      width: 100%;
      height: 100%;
      position: absolute;
      opacity: 0;
      transition: opacity 0.8s ease;
      object-fit: cover;
    }

    .carousel-slide.active {
      opacity: 1;
    }

    .carousel-dots {
      position: absolute;
      bottom: 15px;
      left: 0;
      right: 0;
      display: flex;
      justify-content: center;
      gap: 8px;
    }

    .carousel-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .carousel-dot.active {
      background: var(--accent-color);
      transform: scale(1.2);
    }

    .carousel-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.3);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 18px;
      opacity: 0;
      transition: opacity 0.3s ease, background 0.3s ease;
      z-index: 10;
    }

    .carousel-container:hover .carousel-nav {
      opacity: 1;
    }

    .carousel-nav:hover {
      background: rgba(0, 0, 0, 0.6);
    }

    .carousel-prev {
      left: 15px;
    }

    .carousel-next {
      right: 15px;
    }

    .carousel-title {
      position: absolute;
      bottom: 30px;
      left: 0;
      right: 0;
      text-align: center;
      padding: 10px 20px;
      color: white;
      font-weight: 600;
      font-size: 16px;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }
  </style>
</head>
<body>
  <div class="app-container">
    <!-- 背景装饰 -->
    <div class="bg-decoration">
      <div class="bg-circle"></div>
      <div class="bg-circle"></div>
    </div>

    <!-- 顶部导航 -->
    <header class="header">
      <div class="logo">
        <i class="fas fa-gem"></i>
        <span>奢享时光</span>
      </div>
      <div class="header-actions">
        <div class="search-icon">
          <i class="fas fa-search"></i>
        </div>
        <i class="fas fa-shopping-bag"></i>
      </div>
    </header>

    <!-- 主要内容 -->
    <main class="content">
      <!-- 轮播图 -->
      <div class="carousel-container">
        <img src="https://images.pexels.com/photos/3775160/pexels-photo-3775160.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2" alt="奢华购物体验" class="carousel-slide active">
        <img src="https://images.pexels.com/photos/2536965/pexels-photo-2536965.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2" alt="限时特惠活动" class="carousel-slide">
        <img src="https://images.pexels.com/photos/5935752/pexels-photo-5935752.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2" alt="VIP专享礼遇" class="carousel-slide">
        <img src="https://images.pexels.com/photos/3768005/pexels-photo-3768005.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2" alt="全球甄选好物" class="carousel-slide">
        
        <div class="carousel-title">限时秒杀，奢华体验</div>
        
        <div class="carousel-dots">
          <div class="carousel-dot active"></div>
          <div class="carousel-dot"></div>
          <div class="carousel-dot"></div>
          <div class="carousel-dot"></div>
        </div>
        
        <div class="carousel-nav carousel-prev">
          <i class="fas fa-chevron-left"></i>
        </div>
        <div class="carousel-nav carousel-next">
          <i class="fas fa-chevron-right"></i>
        </div>
      </div>

      <!-- 资讯滚动模块 -->
      <div class="news-ticker">
        <div class="ticker-label">
          <i class="fas fa-volume-up"></i>
          <span>最新动态</span>
        </div>
        <div class="ticker-wrapper">
          <div class="ticker-content">
            <div class="ticker-item">
              <span class="ticker-tag">活动</span>
              <span>618奢品节，全场商品低至5折，更有神秘大礼等你来拿</span>
            </div>
            <div class="ticker-item">
              <span class="ticker-tag">公告</span>
              <span>恭喜用户李**获得本周幸运大奖 - 顶级奢华腕表一枚</span>
            </div>
            <div class="ticker-item">
              <span class="ticker-tag">更新</span>
              <span>平台功能全面升级，拼团体验更流畅，中奖率提升10%</span>
            </div>
            <div class="ticker-item">
              <span class="ticker-tag">推荐</span>
              <span>法国顶级香水限量款已上架，数量有限，速来抢购</span>
            </div>
          </div>
        </div>
      </div>

      <!-- 导航菜单 -->
      <div class="nav-menu">
        <div class="nav-item active">推荐</div>
        <div class="nav-item">奢华</div>
        <div class="nav-item">数码</div>
        <div class="nav-item">美妆</div>
        <div class="nav-item">配饰</div>
        <div class="nav-item">家居</div>
      </div>

      <!-- 抢购板块 
      <section class="flash-sale">
        <div class="section-title">
          <div class="title-text">
            <i class="fas fa-bolt"></i>
            <span>限时抢购</span>
          </div>
          <div class="view-more">
            <span>查看更多</span>
            <i class="fas fa-chevron-right"></i>
          </div>
        </div>
        <div class="flash-cards">
          <div class="flash-card">
            <div class="flash-timer">
              <i class="fas fa-clock"></i>
              <span>01:45:30</span>
            </div>
            <img src="https://images.pexels.com/photos/190819/pexels-photo-190819.jpeg?auto=compress&cs=tinysrgb&w=800" alt="抢购商品" class="flash-image">
            <div class="flash-content">
              <h3 class="flash-title">瑞士顶级机械腕表 限量版</h3>
              <div class="price-row">
                <div class="current-price">¥500</div>
                <div class="original-price">¥3980</div>
              </div>
              <div class="flash-progress">
                <div class="progress-text">
                  <span>已参与 6/10 人</span>
                  <span>即将售罄</span>
                </div>
                <div class="flash-bar">
                  <div class="flash-fill" style="width: 60%;"></div>
                </div>
              </div>
              <a href="groupbuy.html" class="flash-button">立即参与</a>
            </div>
          </div>
          <div class="flash-card">
            <div class="flash-timer">
              <i class="fas fa-clock"></i>
              <span>02:30:15</span>
            </div>
            <img src="https://images.pexels.com/photos/10983783/pexels-photo-10983783.jpeg?auto=compress&cs=tinysrgb&w=600" alt="珍珠项链" class="flash-image">
            <div class="flash-content">
              <h3 class="flash-title">天然珍珠项链 18K金扣</h3>
              <div class="price-row">
                <div class="current-price">¥480</div>
                <div class="original-price">¥2980</div>
              </div>
              <div class="flash-progress">
                <div class="progress-text">
                  <span>已参与 4/10 人</span>
                  <span>火热进行中</span>
                </div>
                <div class="flash-bar">
                  <div class="flash-fill" style="width: 40%;"></div>
                </div>
              </div>
              <a href="groupbuy.html" class="flash-button">立即参与</a>
            </div>
          </div>
          <div class="flash-card">
            <div class="flash-timer">
              <i class="fas fa-clock"></i>
              <span>03:15:45</span>
            </div>
            <img src="https://images.pexels.com/photos/965989/pexels-photo-965989.jpeg?auto=compress&cs=tinysrgb&w=600" alt="高档化妆品" class="flash-image">
            <div class="flash-content">
              <h3 class="flash-title">法国顶级护肤套装 珍藏版</h3>
              <div class="price-row">
                <div class="current-price">¥520</div>
                <div class="original-price">¥3280</div>
              </div>
              <div class="flash-progress">
                <div class="progress-text">
                  <span>已参与 2/10 人</span>
                  <span>刚刚开场</span>
                </div>
                <div class="flash-bar">
                  <div class="flash-fill" style="width: 20%;"></div>
                </div>
              </div>
              <a href="groupbuy.html" class="flash-button">立即参与</a>
            </div>
          </div>
        </div>
      </section>-->

      <!-- 精选商品 -->
      <section class="featured-products">
        <div class="section-title">
          <div class="title-text">
            <i class="fas fa-crown"></i>
            <span>精选商品</span>
          </div>
          <div class="view-more">
            <span>查看全部</span>
            <i class="fas fa-chevron-right"></i>
          </div>
        </div>
        <div class="products-grid">
          <div class="product-card">
            <img src="https://images.pexels.com/photos/965989/pexels-photo-965989.jpeg?auto=compress&cs=tinysrgb&w=600" alt="高端香水" class="product-image">
            <div class="product-content">
              <h3 class="product-title">法国进口奢华香水礼盒</h3>
              <div class="product-price">
                <span>¥1580</span>
                <div class="product-tag">赠券</div>
              </div>
            </div>
          </div>
          <div class="product-card">
            <img src="https://images.pexels.com/photos/1152077/pexels-photo-1152077.jpeg?auto=compress&cs=tinysrgb&w=600" alt="高端包包" class="product-image">
            <div class="product-content">
              <h3 class="product-title">意大利进口真皮手工包</h3>
              <div class="product-price">
                <span>¥2480</span>
                <div class="product-tag">热门</div>
              </div>
            </div>
          </div>
          <div class="product-card">
            <img src="https://images.pexels.com/photos/1123260/pexels-photo-1123260.jpeg?auto=compress&cs=tinysrgb&w=600" alt="红酒" class="product-image">
            <div class="product-content">
              <h3 class="product-title">法国波尔多红酒礼盒</h3>
              <div class="product-price">
                <span>¥1280</span>
                <div class="product-tag">推荐</div>
              </div>
            </div>
          </div>
          <div class="product-card">
            <img src="https://images.pexels.com/photos/10983783/pexels-photo-10983783.jpeg?auto=compress&cs=tinysrgb&w=600" alt="珠宝首饰" class="product-image">
            <div class="product-content">
              <h3 class="product-title">18K金镶钻石手链</h3>
              <div class="product-price">
                <span>¥3890</span>
                <div class="product-tag">奢华</div>
              </div>
            </div>
          </div>
        </div>
      </section>
    </main>

    <!-- 底部导航 -->
    <nav class="bottom-nav">
      <a href="index.html" class="nav-button active">
        <i class="fas fa-home"></i>
        <span>首页</span>
      </a>
      <a href="groupbuy.html" class="nav-button">
        <i class="fas fa-users"></i>
        <span>拼团</span>
      </a>
      <a href="shares.html" class="nav-button">
        <i class="fas fa-chart-line"></i>
        <span>股权</span>
      </a>
      <a href="profile.html" class="nav-button">
        <i class="fas fa-user"></i>
        <span>我的</span>
      </a>
    </nav>
  </div>

  <script>
    document.addEventListener('DOMContentLoaded', function() {
      // 导航菜单点击效果
      const navItems = document.querySelectorAll('.nav-item');
      navItems.forEach(item => {
        item.addEventListener('click', function() {
          navItems.forEach(nav => nav.classList.remove('active'));
          this.classList.add('active');
        });
      });
      
      // 资讯滚动效果 - 鼠标悬停暂停动画
      const tickerContent = document.querySelector('.ticker-content');
      tickerContent.addEventListener('mouseenter', function() {
        this.style.animationPlayState = 'paused';
      });
      
      tickerContent.addEventListener('mouseleave', function() {
        this.style.animationPlayState = 'running';
      });
      
      // 商品卡片点击效果
      const productCards = document.querySelectorAll('.product-card');
      productCards.forEach(card => {
        card.addEventListener('click', function() {
          // 模拟跳转到商品详情
          alert('即将跳转到商品详情页');
        });
      });
      
      // 模拟倒计时
      const timerElements = document.querySelectorAll('.flash-timer span');
      // 分别是1小时45分30秒、2小时30分15秒、3小时15分45秒
      let remainingTimes = [6330, 9015, 11745]; 
      
      function updateTimers() {
        timerElements.forEach((timerElement, index) => {
          if (remainingTimes[index] > 0) {
            const hours = Math.floor(remainingTimes[index] / 3600);
            const minutes = Math.floor((remainingTimes[index] % 3600) / 60);
            const seconds = remainingTimes[index] % 60;
            
            const formattedTime = 
              (hours < 10 ? '0' + hours : hours) + ':' +
              (minutes < 10 ? '0' + minutes : minutes) + ':' +
              (seconds < 10 ? '0' + seconds : seconds);
            
            timerElement.textContent = formattedTime;
            remainingTimes[index]--;
          } else {
            timerElement.parentElement.style.background = 'rgba(255, 0, 0, 0.6)';
            timerElement.textContent = '已结束';
          }
        });
      }
      
      const timerInterval = setInterval(updateTimers, 1000);
      
      // 轮播图功能
      const slides = document.querySelectorAll('.carousel-slide');
      const dots = document.querySelectorAll('.carousel-dot');
      const prevButton = document.querySelector('.carousel-prev');
      const nextButton = document.querySelector('.carousel-next');
      let currentSlide = 0;
      
      // 显示指定索引的幻灯片
      function showSlide(index) {
        if (index < 0) index = slides.length - 1;
        if (index >= slides.length) index = 0;
        
        slides.forEach(slide => slide.classList.remove('active'));
        dots.forEach(dot => dot.classList.remove('active'));
        
        slides[index].classList.add('active');
        dots[index].classList.add('active');
        currentSlide = index;
      }
      
      // 添加点击事件到导航按钮
      prevButton.addEventListener('click', () => {
        showSlide(currentSlide - 1);
      });
      
      nextButton.addEventListener('click', () => {
        showSlide(currentSlide + 1);
      });
      
      // 添加点击事件到指示器点
      dots.forEach((dot, index) => {
        dot.addEventListener('click', () => {
          showSlide(index);
        });
      });
      
      // 自动轮播
      let slideInterval = setInterval(() => {
        showSlide(currentSlide + 1);
      }, 4000);
      
      // 鼠标悬停时暂停轮播
      const carouselContainer = document.querySelector('.carousel-container');
      carouselContainer.addEventListener('mouseenter', () => {
        clearInterval(slideInterval);
      });
      
      carouselContainer.addEventListener('mouseleave', () => {
        slideInterval = setInterval(() => {
          showSlide(currentSlide + 1);
        }, 4000);
      });
      
      // 页面加载动画效果
      const mainContent = document.querySelector('.content');
      const elements = mainContent.querySelectorAll('*');
      
      elements.forEach((el, index) => {
        el.style.opacity = '0';
        el.style.transform = 'translateY(20px)';
        el.style.transition = `opacity 0.5s ease, transform 0.5s ease`;
        
        setTimeout(() => {
          el.style.opacity = '1';
          el.style.transform = 'translateY(0)';
        }, 100 + (index * 50));
      });
    });
  </script>
</body>
</html> 